/*
 * Copyright © 2004-2014 chenYuan. All rights reserved.
 * @Website:wwww.jspx.net
 * @Mail:39793751@qq.com
 * @author: chenYuan , 陈原
 * @License: Jspx.net Framework Code is open source (LGPL)，Jspx.net Framework 使用LGPL 开源授权协议发布。
 * @jvm:jdk1.6+  x86/amd64
 *
 */
package com.jspx.scriptmark.parse.html;

import com.jspx.scriptmark.core.TagNode;
import com.jspx.scriptmark.util.ScriptMarkUtil;

/**
 * Created by IntelliJ IDEA.
 * User: chenYuan
 * Date: 2008-12-14
 * Time: 16:44:22
 * 
 */
public class ImgTag extends TagNode
{
    public ImgTag()
    {
        repair = true;
    }

    public String getSrc()
    {
        return ScriptMarkUtil.deleteQuote(getAttribute("src"));
    }
}